Inside Macintosh: Files

Previous | Chapter Top | Chapter Contents | Next

Application Files Records

The GetAppFiles procedure returns information about files opened at application launch time in an application files record, defined by the AppFile data type:

TYPE AppFile        =
RECORD
    vRefNum:        Integer;        {working directory reference number}
    fType:          OSType;         {file type}
    versNum:        Integer;        {version number; ignored}
    fName:          Str255;         {filename}
END;
vRefNum
A working directory reference number that encodes the volume and parent directory of the file.
fType
The file type.
versNum
Reserved.
fName
The filename.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next